<template>
  <div>
    <nav-bar-item v-for="item in navItems" :key="item.title" v-bind="item"></nav-bar-item>
  </div>
</template>

<script>
import NavBarItem from './NavBarItem.vue';
export default {
  data () {
    return {
      navItems:[
        {
          
          title:'首页',
          path:'/main/index'
        },
        {
          
          title:'会话',
          path:'/main/session'
        },
        {
          
          title:'访客',
          path:'/main/visitor'
        },
        {
          
          title:'历史',
          path:'/main/history'
        },
        
      ]
    }
  },
  components: { NavBarItem },
  };
</script>

<style scoped>
</style>